﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web;

using ChiDao.Component.Utils;
using ChiDao.Site.Models;


namespace ChiDao.Business.Service
{
    public interface IHolidayDocumentService
    {
        HolidayDocumentView QueryHolidayDocument(string id, string userName);

        bool OnlyPreviewHolidayDocument(string id);

        List<HolidayDocumentView> QueryRequestHolidayDocument(string userName);

        void UpdateHolidayDocument(Guid id, DateTime requestDate, string description, string approvalOpinion);

        void SaveHolidayDocument(Guid id, string userName, DateTime requestDate, string description);

        HolidayDocumentView GetHolidayDocumentByID(string id);
    }
}